* {
    margin: 0;
    padding: 0;
    font-size: 1rem;
    color: #000;
    font-family: Helvetica Neue, Arial, Helvetica, sans-serif;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    word-break: break-all;
    position: relative;
}

.main-view {
    width: 80%;
    margin-left: 10%;
    border:solid 1px #eee;
}

.navbar-fixed-top{
    top: 0;
    border-width: 0 0 1px;
    position: fixed;
    right: 0;
    left: 0;
    z-index: 100;
    border-bottom: 1px solid #fff;
}

.navbar-fixed-top.active{
    background: #6771F1;
    border-bottom: none;
    box-shadow: rgba(0, 0, 0, .2) 0 0 10px;
    transition: background 3s;
    /* Firefox 4 */
    -moz-transition:background 3s;
    /* Safari and Chrome */
    -webkit-transition:background 3s;
    /* Opera */
    -o-transition:background 3s;
}

.navbar-logo{
    text-align: center;
}

.navbar-logo img{
    width: 4.5rem;
    height: 1.8rem;
    padding-top: 1rem;
}

.layui-nav{
    text-align: center;
}

.swiper-container{
    width: 100%;
    height: 40rem;
}
.swiper-slide {
    background-position: center;
    background-size: cover;
    font-size: 18px;
    /* Center slide text vertically */
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    -webkit-align-items: center;
    align-items: center;
}

.swiper-slide swiper-block1, .swiper-slide swiper-block2{
    display: inline-block;
}

@-webkit-keyframes play1{
    0%  {left:-5rem;}
    25%  {left:-6rem;}
    50%  {left:-5rem;}
    75%  {left:-4rem;}
    100% {left:-5rem;}
}
@-moz-keyframes play1{
    0%  {left:-5rem;}
    25%  {left:-6rem;}
    50%  {left:-5rem;}
    75%  {left:-4rem;}
    100% {left:-5rem;}
}
@keyframes play1{
    0%  {left:-5rem;}
    25%  {left:-6rem;}
    50%  {left:-5rem;}
    75%  {left:-4rem;}
    100% {left:-5rem;}
}
@-o-keyframes play1{
    0%  {left:-5rem;}
    25%  {left:-6rem;}
    50%  {left:-5rem;}
    75%  {left:-4rem;}
    100% {left:-5rem;}
}

.swiper-block1 img{
    -webkit-animation:play1 3s linear infinite;
    -moz-animation:play1 3s linear infinite;
    animation:play1 3s linear infinite;
}

@-webkit-keyframes play2{
    0%  {left:5rem;}
    25%  {left:4rem;}
    50%  {left:5rem;}
    75%  {left:6rem;}
    100% {left:5rem;}
}
@-moz-keyframes play2{
    0%  {left:5rem;}
    25%  {left:4rem;}
    50%  {left:5rem;}
    75%  {left:6rem;}
    100% {left:5rem;}
}
@keyframes play2{
    0%  {left:5rem;}
    25%  {left:4rem;}
    50%  {left:5rem;}
    75%  {left:6rem;}
    100% {left:5rem;}
}
@-o-keyframes play2{
    0%  {left:5rem;}
    25%  {left:4rem;}
    50%  {left:5rem;}
    75%  {left:6rem;}
    100% {left:5rem;}
}

.swiper-block2 img{
    -webkit-animation:play2 3s linear infinite;
    -moz-animation:play2 3s linear infinite;
    animation:play2 3s linear infinite;
}

.swiper-content p{
    color: white;
    font-size: 2rem;
    text-align: center;
}

.block-container
{
    width: 100%;
    height: auto;
}
.block
{
    padding: 5rem 0;
    height: auto;
}
.block-1,.block-3
{

}
.block-2
{
    background: #F5F5FF;
}
.block-img-1
{
    background: url(../img/home-1.PNG) center top no-repeat;
    background-size: 29.45rem 22.14rem;
}
.block-img-2
{
    background: url(../img/home-3.PNG) center top no-repeat;
    background-size: 32.45rem 22.14rem;
}
.block-img-3
{
    background: url(../img/home-2.PNG) center top no-repeat;
    background-size: 30.45rem 22.14rem;
}
.layui-col-md6
{
    height: 22.14rem;
}
.block span
{
    font-size: 2rem;
    color: #4354DF;
    display: block;
    margin-top: 4rem;
}
.block p
{
    font-size: 1.2rem;
    color:#393972;
    display: block;
    margin-top: 1.5rem;
}
.block a
{
    display: block;
    width: max-content;
    border-radius: 1000px;
    background: #6771F1;
    color: white;
    padding: 1rem 5rem 1rem 5rem ;
    margin-top: 1.8rem;
    box-shadow: rgba(0, 0, 0, .2) 0 0 10px;
    cursor: pointer;
}
.block a:hover
{
    background: #4E57C9;
    color: white;
}


footer {
    border-top: 0.1rem solid #CCC;
    width: 100%;
    height: auto;
    background: #303038;
}

footer .footer-container {
    max-width: 1200px;
    width: 100%;
    height: auto;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

footer .footer-top {
    height: 8rem;
    margin-top: 2rem;
}
footer span
{
    color: white;
    display: block;
    cursor: default;
}
footer a
{
    font-size: 0.8rem;
    color: #8D8D8D;
    display: block;
    margin-top: 0.5rem;
    margin-left: -1rem;
    cursor: pointer;
}
footer p
{
    font-size: 1.5rem;
    color: white;
    display: block;
    cursor: default;
}
footer .footer-contact
{
    height: inherit;
}
footer .footer-contact p,footer .footer-contact span
{
    float: right;
}
footer .footer-contact a
{
    color: white;
    width: max-content;
    padding: 0.5rem 1.5rem 0.5rem 1.5rem;
    font-size: 1rem;
    border-radius: 1000px;
    border: 0.08rem solid white;
    margin-top: 4rem;
    margin-left: 8rem;
}
footer .footer-bottom {
    margin-top: 1rem;
    padding-bottom: 1rem;
    color: #8D8D8D;
}